<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>
<div id ="paper-list">
<h1> Search results: total <font size="4" color=red><%=@total%></font> results</h1>
  <table border="0" width="100%" cellspacing="0" cellpadding="0" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">  
  <% for paper in @searchResults2 %>
     <tr>   
          <td height="20">
              <img alt=---------- border=0 height=1 src="/images/beige.gif" vspace=8 width="100%">
          </td>
     </tr>   
   <tr >
    <td >
   &nbsp;&nbsp; <%=h paper.title %><br>
   &nbsp;&nbsp;  by &nbsp;<b><%=h paper.authors* "  |  " %></b><br>
   &nbsp;&nbsp; source:<%=h paper.publisher%><br>
   &nbsp;&nbsp;  <%=h paper.ISBN %><br>
   &nbsp;&nbsp;  <%= link_to 'Summary and Abstract', :action => 'show', :id => paper %>
      </td>
    </tr>
  <% end %>
  </table>
<%= link_to 'Previous page', { :page => @pages.current.previous, :query_str=> @query_str} if @pages.current.previous %>
<%= pagination_links(@pages, :params => { :query_str=> @query_str }) %>
<%= link_to 'Next page', { :page => @pages.current.next, :query_str => @query_str} if @pages.current.next %>
<p>
<%= link_to 'Back', :action => 'list' %></td>
</p>
</div>
